<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix'        => 'admin/Violation',
    'namespace'     => 'Beerus\\Modules\\Violation\\Controllers',
    'middleware'    => [
        'web',
        'admin',
    ],
], function (Router $router) {
    // 设计师违规记录
    $router->get('/designer', 'ViolationController@designerViolation');
    $router->put('/designer/{id}', 'ViolationController@saveDesignerViolationRemark');
    $router->get('/designer/create', 'ViolationController@createDesignerViolation');
    $router->post('/designer/save', 'ViolationController@saveDesignerViolation');
    $router->post('/designer/check', 'ViolationController@checkDesignerViolation');
    $router->delete('/designer/{id}', 'ViolationController@delDesignerViolation');
    $router->post('/designer/getIdentityNum', 'ViolationController@getIdentityNum');
});
